<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>在线连接</title>
</head>
<body>
<center>
    <table style="width: 100%;" border="1px">
        <tr>
            <th>ip</th>
            <th>port</th>
            <th>用户名</th>
            <th>通道</th>
            <th>最后登录时间</th>
        </tr>
        <tr th:each="item,device:${devices}">
            <td th:text="${device.current.value.hik.ip}"></td>
            <td th:text="${device.current.value.hik.port}"></th>
            <td th:text="${device.current.value.hik.userName}"></td>
            <td th:text="${device.current.value.hik.lChannel}"></td>
            <td th:text="${#dates.format(device.current.value.lastTime, 'yyyy-MM-dd HH:mm:ss')}"></td>
        </tr>
    </table>
</center>
</body>
</html>